<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>XMP Toolkit SDK: public/include/XMP_IO.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xmp_tagline_small.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XMP Toolkit SDK
   &#160;<span id="projectnumber">6.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('XMP__IO_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">XMP_IO.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="XMP__IO_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __XMP_IO_hpp__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __XMP_IO_hpp__  1</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// Copyright Adobe</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// Copyright 2010 Adobe</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// All Rights Reserved</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the terms</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// of the Adobe license agreement accompanying it. If you have received this file from a source other </span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// than Adobe, then your use, modification, or distribution of it requires the prior written permission</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// of Adobe.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="XMP__Environment_8h.html">XMP_Environment.h</a>&quot;</span>    <span class="comment">// ! XMP_Environment.h must be the first included header.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="XMP__Const_8h.html">XMP_Const.h</a>&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span><span class="comment">// =================================================================================================</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classXMP__IO.html">   44</a></span>&#160;<span class="keyword">class </span><a class="code" href="classXMP__IO.html">XMP_IO</a> {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classXMP__IO.html#af77f9218892471ffad4586413ecd0dcaa148a2bca28df5b2d143590aae5153b55">   46</a></span>&#160;    <span class="keyword">enum</span> { <a class="code" href="classXMP__IO.html#af77f9218892471ffad4586413ecd0dcaa148a2bca28df5b2d143590aae5153b55">kReadAll</a> = <span class="keyword">true</span> };</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keyword">virtual</span> XMP_Uns32 <a class="code" href="classXMP__IO.html#a0a0db95509e567f29f34570d5042aa54">Read</a> ( <span class="keywordtype">void</span>* buffer, XMP_Uns32 count, <span class="keywordtype">bool</span> readAll = <span class="keyword">false</span> ) = 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a0d0b45799793c5fa3dc567556f93cceb">   63</a></span>&#160;        <span class="keyword">inline</span> XMP_Uns32 <a class="code" href="classXMP__IO.html#a0d0b45799793c5fa3dc567556f93cceb">ReadAll</a> ( <span class="keywordtype">void</span>* buffer, XMP_Uns32 bytes )</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;                { <span class="keywordflow">return</span> this-&gt;<a class="code" href="classXMP__IO.html#a0a0db95509e567f29f34570d5042aa54">Read</a> ( buffer, bytes, <a class="code" href="classXMP__IO.html#af77f9218892471ffad4586413ecd0dcaa148a2bca28df5b2d143590aae5153b55">kReadAll</a> ); };</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMP__IO.html#ab48d705ca0e3fb22d84c7a323951f8e4">Write</a> ( <span class="keyword">const</span> <span class="keywordtype">void</span>* buffer, XMP_Uns32 count ) = 0;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keyword">virtual</span> XMP_Int64 <a class="code" href="classXMP__IO.html#a9c05bb22ecc75e71ecc546bcb756d628">Seek</a> ( XMP_Int64 offset, <a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563f">SeekMode</a> mode ) = 0;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classXMP__IO.html#aa14274c6ed95da83a95e8786b7b1a91e">   92</a></span>&#160;        <span class="keyword">inline</span> XMP_Int64 <a class="code" href="classXMP__IO.html#aa14274c6ed95da83a95e8786b7b1a91e">Offset</a>() { <span class="keywordflow">return</span> this-&gt;<a class="code" href="classXMP__IO.html#a9c05bb22ecc75e71ecc546bcb756d628">Seek</a> ( 0, <a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563fa4e179367a02390075e632aca6e115925">kXMP_SeekFromCurrent</a> ); };</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a456f92ca90a83095dbd90786a26b64e1">   93</a></span>&#160;        <span class="keyword">inline</span> XMP_Int64 <a class="code" href="classXMP__IO.html#a456f92ca90a83095dbd90786a26b64e1">Rewind</a>() { <span class="keywordflow">return</span> this-&gt;<a class="code" href="classXMP__IO.html#a9c05bb22ecc75e71ecc546bcb756d628">Seek</a> ( 0, <a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563faf52720b8c894653e4a089a9c0331ee47">kXMP_SeekFromStart</a> ); };     <span class="comment">// Always returns 0.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a51b53ca05c5627da08cd934a9ed8b281">   94</a></span>&#160;        <span class="keyword">inline</span> XMP_Int64 <a class="code" href="classXMP__IO.html#a51b53ca05c5627da08cd934a9ed8b281">ToEOF</a>()  { <span class="keywordflow">return</span> this-&gt;<a class="code" href="classXMP__IO.html#a9c05bb22ecc75e71ecc546bcb756d628">Seek</a> ( 0, <a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563faeedc991a0194b932ae4a47307843baf6">kXMP_SeekFromEnd</a> ); };</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        <span class="keyword">virtual</span> XMP_Int64 <a class="code" href="classXMP__IO.html#af4fe442d5f7ea3d062bb5dfeadfa2335">Length</a>() = 0;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMP__IO.html#af7dc2bd067498a651597a6b128f02dbb">Truncate</a> ( XMP_Int64 length ) = 0;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classXMP__IO.html">XMP_IO</a>* <a class="code" href="classXMP__IO.html#ac989de23f8fed2efcca71f5a3aa35695">DeriveTemp</a>() = 0;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMP__IO.html#aad4cf42485e9d8319a07f4ecdde4ee34">AbsorbTemp</a>() = 0;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMP__IO.html#a337ddf3f954d2b4e8dce1d70d8c33ddb">DeleteTemp</a>() = 0;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a38ca896e79705a0e4228eb67d3426c65">  157</a></span>&#160;        <a class="code" href="classXMP__IO.html#a38ca896e79705a0e4228eb67d3426c65">XMP_IO</a>() {};</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a52825d62e1a93ae1ee157d68860b6815">  158</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classXMP__IO.html#a52825d62e1a93ae1ee157d68860b6815">~XMP_IO</a>() {};</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="comment">// ---------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <a class="code" href="classXMP__IO.html#a38ca896e79705a0e4228eb67d3426c65">XMP_IO</a> ( <span class="keyword">const</span> <a class="code" href="classXMP__IO.html">XMP_IO</a> &amp; original );</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classXMP__IO.html#a3a1c16d56b845392cef6fa1e2cd75635">  167</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classXMP__IO.html#a3a1c16d56b845392cef6fa1e2cd75635">operator= </a>( <span class="keyword">const</span> <a class="code" href="classXMP__IO.html">XMP_IO</a>&amp; ) { <span class="comment">/* Avoid Win compile warnings. */</span> };</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;};</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; </div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#endif  // __XMP_IO_hpp__</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassXMP__IO_html_a51b53ca05c5627da08cd934a9ed8b281"><div class="ttname"><a href="classXMP__IO.html#a51b53ca05c5627da08cd934a9ed8b281">XMP_IO::ToEOF</a></div><div class="ttdeci">XMP_Int64 ToEOF()</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00094">XMP_IO.hpp:94</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_af4fe442d5f7ea3d062bb5dfeadfa2335"><div class="ttname"><a href="classXMP__IO.html#af4fe442d5f7ea3d062bb5dfeadfa2335">XMP_IO::Length</a></div><div class="ttdeci">virtual XMP_Int64 Length()=0</div><div class="ttdoc">Return the length of the file in bytes.</div></div>
<div class="ttc" id="aclassXMP__IO_html_a456f92ca90a83095dbd90786a26b64e1"><div class="ttname"><a href="classXMP__IO.html#a456f92ca90a83095dbd90786a26b64e1">XMP_IO::Rewind</a></div><div class="ttdeci">XMP_Int64 Rewind()</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00093">XMP_IO.hpp:93</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a0d0b45799793c5fa3dc567556f93cceb"><div class="ttname"><a href="classXMP__IO.html#a0d0b45799793c5fa3dc567556f93cceb">XMP_IO::ReadAll</a></div><div class="ttdeci">XMP_Uns32 ReadAll(void *buffer, XMP_Uns32 bytes)</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00063">XMP_IO.hpp:63</a></div></div>
<div class="ttc" id="aXMP__Const_8h_html_a84d76d32dd4ef90e5a90cf759b7e563faeedc991a0194b932ae4a47307843baf6"><div class="ttname"><a href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563faeedc991a0194b932ae4a47307843baf6">kXMP_SeekFromEnd</a></div><div class="ttdeci">@ kXMP_SeekFromEnd</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00876">XMP_Const.h:876</a></div></div>
<div class="ttc" id="aXMP__Const_8h_html_a84d76d32dd4ef90e5a90cf759b7e563fa4e179367a02390075e632aca6e115925"><div class="ttname"><a href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563fa4e179367a02390075e632aca6e115925">kXMP_SeekFromCurrent</a></div><div class="ttdeci">@ kXMP_SeekFromCurrent</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00876">XMP_Const.h:876</a></div></div>
<div class="ttc" id="aXMP__Const_8h_html"><div class="ttname"><a href="XMP__Const_8h.html">XMP_Const.h</a></div><div class="ttdoc">Common C/C++ types and constants for the XMP toolkit.</div></div>
<div class="ttc" id="aXMP__Const_8h_html_a84d76d32dd4ef90e5a90cf759b7e563f"><div class="ttname"><a href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563f">SeekMode</a></div><div class="ttdeci">SeekMode</div><div class="ttdoc">Seek mode constants for use with XMP_IO and inside XMPFiles library code.</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00876">XMP_Const.h:876</a></div></div>
<div class="ttc" id="aXMP__Environment_8h_html"><div class="ttname"><a href="XMP__Environment_8h.html">XMP_Environment.h</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a3a1c16d56b845392cef6fa1e2cd75635"><div class="ttname"><a href="classXMP__IO.html#a3a1c16d56b845392cef6fa1e2cd75635">XMP_IO::operator=</a></div><div class="ttdeci">void operator=(const XMP_IO &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00167">XMP_IO.hpp:167</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a38ca896e79705a0e4228eb67d3426c65"><div class="ttname"><a href="classXMP__IO.html#a38ca896e79705a0e4228eb67d3426c65">XMP_IO::XMP_IO</a></div><div class="ttdeci">XMP_IO()</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00157">XMP_IO.hpp:157</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a52825d62e1a93ae1ee157d68860b6815"><div class="ttname"><a href="classXMP__IO.html#a52825d62e1a93ae1ee157d68860b6815">XMP_IO::~XMP_IO</a></div><div class="ttdeci">virtual ~XMP_IO()</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00158">XMP_IO.hpp:158</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_af7dc2bd067498a651597a6b128f02dbb"><div class="ttname"><a href="classXMP__IO.html#af7dc2bd067498a651597a6b128f02dbb">XMP_IO::Truncate</a></div><div class="ttdeci">virtual void Truncate(XMP_Int64 length)=0</div><div class="ttdoc">Truncate the file to the given length.</div></div>
<div class="ttc" id="aclassXMP__IO_html_aad4cf42485e9d8319a07f4ecdde4ee34"><div class="ttname"><a href="classXMP__IO.html#aad4cf42485e9d8319a07f4ecdde4ee34">XMP_IO::AbsorbTemp</a></div><div class="ttdeci">virtual void AbsorbTemp()=0</div><div class="ttdoc">Replace the owning file's content with that of the temp.</div></div>
<div class="ttc" id="aclassXMP__IO_html"><div class="ttname"><a href="classXMP__IO.html">XMP_IO</a></div><div class="ttdoc">Abstract base class for client-managed I/O with TXMPFiles.</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00044">XMP_IO.hpp:44</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a337ddf3f954d2b4e8dce1d70d8c33ddb"><div class="ttname"><a href="classXMP__IO.html#a337ddf3f954d2b4e8dce1d70d8c33ddb">XMP_IO::DeleteTemp</a></div><div class="ttdeci">virtual void DeleteTemp()=0</div><div class="ttdoc">Delete a temp file, leaving the original alone.</div></div>
<div class="ttc" id="aclassXMP__IO_html_af77f9218892471ffad4586413ecd0dcaa148a2bca28df5b2d143590aae5153b55"><div class="ttname"><a href="classXMP__IO.html#af77f9218892471ffad4586413ecd0dcaa148a2bca28df5b2d143590aae5153b55">XMP_IO::kReadAll</a></div><div class="ttdeci">@ kReadAll</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00046">XMP_IO.hpp:46</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_ac989de23f8fed2efcca71f5a3aa35695"><div class="ttname"><a href="classXMP__IO.html#ac989de23f8fed2efcca71f5a3aa35695">XMP_IO::DeriveTemp</a></div><div class="ttdeci">virtual XMP_IO * DeriveTemp()=0</div><div class="ttdoc">Create an associated temp file for use in a safe-save style operation.</div></div>
<div class="ttc" id="aclassXMP__IO_html_aa14274c6ed95da83a95e8786b7b1a91e"><div class="ttname"><a href="classXMP__IO.html#aa14274c6ed95da83a95e8786b7b1a91e">XMP_IO::Offset</a></div><div class="ttdeci">XMP_Int64 Offset()</div><div class="ttdef"><b>Definition:</b> <a href="XMP__IO_8hpp_source.html#l00092">XMP_IO.hpp:92</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_ab48d705ca0e3fb22d84c7a323951f8e4"><div class="ttname"><a href="classXMP__IO.html#ab48d705ca0e3fb22d84c7a323951f8e4">XMP_IO::Write</a></div><div class="ttdeci">virtual void Write(const void *buffer, XMP_Uns32 count)=0</div><div class="ttdoc">Write from a buffer.</div></div>
<div class="ttc" id="aclassXMP__IO_html_a9c05bb22ecc75e71ecc546bcb756d628"><div class="ttname"><a href="classXMP__IO.html#a9c05bb22ecc75e71ecc546bcb756d628">XMP_IO::Seek</a></div><div class="ttdeci">virtual XMP_Int64 Seek(XMP_Int64 offset, SeekMode mode)=0</div><div class="ttdoc">Set the I/O position, returning the new absolute offset in bytes.</div></div>
<div class="ttc" id="aXMP__Const_8h_html_a84d76d32dd4ef90e5a90cf759b7e563faf52720b8c894653e4a089a9c0331ee47"><div class="ttname"><a href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563faf52720b8c894653e4a089a9c0331ee47">kXMP_SeekFromStart</a></div><div class="ttdeci">@ kXMP_SeekFromStart</div><div class="ttdef"><b>Definition:</b> <a href="XMP__Const_8h_source.html#l00876">XMP_Const.h:876</a></div></div>
<div class="ttc" id="aclassXMP__IO_html_a0a0db95509e567f29f34570d5042aa54"><div class="ttname"><a href="classXMP__IO.html#a0a0db95509e567f29f34570d5042aa54">XMP_IO::Read</a></div><div class="ttdeci">virtual XMP_Uns32 Read(void *buffer, XMP_Uns32 count, bool readAll=false)=0</div><div class="ttdoc">Read into a buffer, returning the number of bytes read.</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f832923ad3cb060bc87ad85e68b8a1c3.html">public</a></li><li class="navelem"><a class="el" href="dir_0fb2101ba02d68f078970216a1fe0334.html">include</a></li><li class="navelem"><a class="el" href="XMP__IO_8hpp.html">XMP_IO.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
